* 01 DECEMBER 2005
* REPLICATION FILE FOR "THE POLITICS OF HARD CHOICES: IMF PROGRAMS AND GOVERNMENT SPENDING"
* by Irfan Nooruddin and Joel Simmons

set more off

* Open Data Set
set mem 400m
set mat 4000
*use "C:\Documents and Settings\Irfan Nooruddin\My Documents\Irfan\Research\Human Development\IMF-Spending\051201 full dataset.dta", clear
use "C:\IRFAN\Research\Human Development\IMF-Spending\051201 full dataset.dta", clear
tsset ctryid year

/*
* DATA APPENDIX

* TABLE 1
tab under_imf if  ssafrica==1&decade50s==1
tab under_imf if  ssafrica==1&decade60s==1
tab under_imf if  ssafrica==1&decade70s==1
tab under_imf if  ssafrica==1&decade80s==1
tab under_imf if  ssafrica==1&decade90s==1

tab under_imf if  southasia==1&decade50s==1
tab under_imf if  southasia==1&decade60s==1
tab under_imf if  southasia==1&decade70s==1
tab under_imf if  southasia==1&decade80s==1
tab under_imf if  southasia==1&decade90s==1

tab under_imf if  eastasia==1&decade50s==1
tab under_imf if  eastasia==1&decade60s==1
tab under_imf if  eastasia==1&decade70s==1
tab under_imf if  eastasia==1&decade80s==1
tab under_imf if  eastasia==1&decade90s==1

tab under_imf if  southeastasia==1&decade50s==1
tab under_imf if  southeastasia==1&decade60s==1
tab under_imf if  southeastasia==1&decade70s==1
tab under_imf if  southeastasia==1&decade80s==1
tab under_imf if  southeastasia==1&decade90s==1

tab under_imf if  latinamr==1&decade60s==1
tab under_imf if  latinamr==1&decade70s==1
tab under_imf if  latinamr==1&decade80s==1
tab under_imf if  latinamr==1&decade90s==1

tab under_imf if  carib==1&decade60s==1
tab under_imf if  carib==1&decade70s==1
tab under_imf if  carib==1&decade80s==1
tab under_imf if  carib==1&decade90s==1

tab under_imf if  oceania==1&decade60s==1
tab under_imf if  oceania==1&decade70s==1
tab under_imf if  oceania==1&decade80s==1
tab under_imf if  oceania==1&decade90s==1

tab under_imf if  eeurope==1&decade60s==1
tab under_imf if  eeurope==1&decade70s==1
tab under_imf if  eeurope==1&decade80s==1
tab under_imf if  eeurope==1&decade90s==1

tab under_imf if  me_nafr==1&decade60s==1
tab under_imf if  me_nafr==1&decade70s==1
tab under_imf if  me_nafr==1&decade80s==1
tab under_imf if  me_nafr==1&decade90s==1
*/

* TABLE 1: Model of IMF Participation
reg under_imf L.under_imf L.wdi72 L.wdi18 L.budgetbalance_gdp polity4_msu lnwdi73, cluster(ctryid)


* TABLE 2: Selection-Corrected Effects of IMF Programs on Spending

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1, cluster(ctryid)

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 f1-f213, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 , cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 f1-f213, cluster(ctryid)


* FOOTNOTE 49, PAGE 23: ROBUST TO INCLUDING DEVALUATION

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation, cluster(ctryid)

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation f1-f213, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation , cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation f1-f213, cluster(ctryid)

* FOOTNOTE 50, PAGE 23: ROBUST TO DROPPING POP65 FROM EDUCATION MODEL

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1, cluster(ctryid)

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 f1-f213, cluster(ctryid)


/*
* FOOTNOTE 13, PAGE 17: ROBUST TO INCLUDING PLP

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation, cluster(ctryid)

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation f1-f213, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation , cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 devaluation f1-f213, cluster(ctryid)
*/

* FOOTNOTE 52, PAGE 24: ROBUST TO DIFFERENT CODINGS OF DEMOCRACY

** DICHOTOMIZED AT 4
reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di_msu /*
*/ d.polity4_di_msu l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_msu_imfpre1 d.polity4di_msu_imfpre1, cluster(ctryid)

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di_msu /*
*/ d.polity4_di_msu l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_msu_imfpre1 d.polity4di_msu_imfpre1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di_msu /*
*/ d.polity4_di_msu l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_msu_imfpre1 d.polity4di_msu_imfpre1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di_msu /*
*/ d.polity4_di_msu l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_msu_imfpre1 d.polity4di_msu_imfpre1, cluster(ctryid)

** DICHOTOMIZED AT 6
reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di /*
*/ d.polity4_di l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_imfpre1 d.polity4di_imfpre1, cluster(ctryid)

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di /*
*/ d.polity4_di l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_imfpre1 d.polity4di_imfpre1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di /*
*/ d.polity4_di l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_imfpre1 d.polity4di_imfpre1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_di /*
*/ d.polity4_di l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4di_imfpre1 d.polity4di_imfpre1, cluster(ctryid)

** TRICHOTOMY
reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_tri /*
*/ d.polity4_tri l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4tri_imfpre1 d.polity4tri_imfpre1, cluster(ctryid)

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_tri /*
*/ d.polity4_tri l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4tri_imfpre1 d.polity4tri_imfpre1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_tri /*
*/ d.polity4_tri l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4tri_imfpre1 d.polity4tri_imfpre1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_tri /*
*/ d.polity4_tri l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4tri_imfpre1 d.polity4tri_imfpre1, cluster(ctryid)

* FOOTNOTE 59, PAGE 27: ROBUST TO DIFFERENT WAYS OF GENERATING HAZARD RATES
** DYNAMIC PROBIT
probit under_imf past_imf lnwdi73 wdi72 debt lnwdi121 lnwdi178 lnwdi193 polity4_re /*
*/ underimf_lag uul_pastimf uul_lnwdi73 uul_wdi72 uul_debt uul_lnwdi121 uul_lnwdi178 uul_lnwdi193 uul_polity4re, cluster(ctryid) nolog
predict xb, xb
gen xb_di = xb
recode xb_di .=. min/0.5=0 0.5/max=1
tab xb_di under_imf
predict F_xb1
gen F_xb2=norm(xb)
summ F_xb1 F_xb2
corr F_xb1 F_xb2
gen f_xb=normden(xb)
gen lambda1 = f_xb/(1-F_xb1)
gen lambda2 = f_xb/(1-F_xb2)
drop xb xb_di f_xb F_xb1 F_xb2

reg d.educ ld.educ l.educ l.lambda1 d.lambda1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre2 d.polity4_imfpre2, cluster(ctryid)

reg d.educ ld.educ l.educ l.lambda1 d.lambda1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre2 d.polity4_imfpre2 f1-f213, cluster(ctryid)

reg d.health ld.health l.health l.lambda1 d.lambda1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre2 d.polity4_imfpre2 , cluster(ctryid)

reg d.health ld.health l.health l.lambda1 d.lambda1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre2 d.polity4_imfpre2 f1-f213, cluster(ctryid)

drop lambda1 lambda2

** BIVARIATE PROBIT
constraint define 1 [athrho]_cons=0
/* biprobit ( GOV: uu = reservl defl debtsl invl sumunl nunderl elecl uul reservul deful debtsul invul sumunul nunderul elecul ) ( IMF: uu = bopl nunderl regl uul
bopul nunderul regul ) , partial difficult constraint(1)
The above routine is good -- it does the full dynamic bivariate probit - but it's easier to get the hazard rates doing the "to enter" and "to remain" stages
separately...*/

biprobit (GOV: under_imf = past_imf lnwdi73 wdi72 debt lnwdi121 lnwdi178 lnwdi193 polity4_re) /*
*/ (IMF: under_imf = bopsizescale nunder polity4_re ) if underimf_lag==0, partial difficult constraint(1) nolog
predict xb_gov, xb1
predict xb_imf, xb2
gen f_xb_gov=normden(xb_gov)
gen f_xb_imf=normden(xb_imf)
gen F_xb_gov=norm(xb_gov)
gen F_xb_imf=norm(xb_imf)
gen lamgnn=-f_xb_gov/(1-F_xb_gov)
gen laminn=-f_xb_imf/(1-F_xb_imf)

drop xb_gov xb_imf f_xb_gov f_xb_imf F_xb_gov F_xb_imf
biprobit (GOV: under_imf = past_imf lnwdi73 wdi72 debt lnwdi121 lnwdi178 lnwdi193 polity4_re) /*
*/ (IMF: under_imf = bopsizescale nunder polity4_re ) if underimf_lag==1, partial difficult constraint(1) nolog
predict xb_gov, xb1
predict xb_imf, xb2
gen f_xb_gov=normden(xb_gov)
gen f_xb_imf=normden(xb_imf)
gen F_xb_gov=norm(xb_gov)
gen F_xb_imf=norm(xb_imf)
gen lamgun=f_xb_gov/F_xb_gov
gen lamiun=f_xb_imf/F_xb_imf
drop xb_gov xb_imf f_xb_gov f_xb_imf F_xb_gov F_xb_imf

reg d.educ ld.educ l.educ l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd if under_imf==0, cluster(ctryid)
reg d.educ ld.educ l.educ l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd if under_imf==1, cluster(ctryid)

reg d.educ ld.educ l.educ l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd f1-f213 if under_imf==0, cluster(ctryid)
reg d.educ ld.educ l.educ l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd f1-f213 if under_imf==1, cluster(ctryid)

reg d.health ld.health l.health l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd if under_imf==0, cluster(ctryid)
reg d.health ld.health l.health l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd if under_imf==1, cluster(ctryid)

reg d.health ld.health l.health l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd f1-f213 if under_imf==0, cluster(ctryid)
reg d.health ld.health l.health l.lamgnn l.laminn l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd f1-f213 if under_imf==1, cluster(ctryid)

drop lamgnn laminn lamgun lamiun

* TABLE 3: Alternative Measures of Government Spending

** Military
reg d.militarygdp ld.militarygdp l.militarygdp l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1, cluster(ctryid)

reg d.militarygdp ld.militarygdp l.militarygdp l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 f1-f213, cluster(ctryid)

** Wages & Salaries
reg d.wdi246 ld.wdi246 l.wdi246 l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1, cluster(ctryid)

reg d.wdi246 ld.wdi246 l.wdi246 l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 f1-f213, cluster(ctryid)

* TABLE 4: Per Capita Measures of Education and Health Care Spending

reg d.educ_percap ld.educ_percap l.educ_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 , cluster(ctryid)

reg d.educ_percap ld.educ_percap l.educ_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 f1-f213, cluster(ctryid)

reg d.health_percap ld.health_percap l.health_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1, cluster(ctryid)

reg d.health_percap ld.health_percap l.health_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 f1-f213, cluster(ctryid)

* FIGURE 3: PRE- AND POST-1995

reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 /*
*/ l.dummy1995on l.imf_1995 d.imf_1995 l.polity_1995 d.polity_1995 l.polity4_imf_1995 d.polity4_imf_1995, cluster(ctryid)

reg d.educ_percap ld.educ_percap l.educ_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 /*
*/ l.dummy1995on l.imf_1995 d.imf_1995 l.polity_1995 d.polity_1995 l.polity4_imf_1995 d.polity4_imf_1995, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 /*
*/ l.dummy1995on l.imf_1995 d.imf_1995 l.polity_1995 d.polity_1995 l.polity4_imf_1995 d.polity4_imf_1995, cluster(ctryid)

reg d.health_percap ld.health_percap l.health_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 /*
*/ l.dummy1995on l.imf_1995 d.imf_1995 l.polity_1995 d.polity_1995 l.polity4_imf_1995 d.polity4_imf_1995, cluster(ctryid)

* FOOTNOTE 65 ON PAGE 35: REGIONAL SUB-SAMPLE ROBUSTNESS CHECK

** SUB-SAHARAN AFRICA
reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if ssafrica==1, cluster(ctryid)

reg d.educ_percap ld.educ_percap l.educ_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if ssafrica==1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if ssafrica==1, cluster(ctryid)

reg d.health_percap ld.health_percap l.health_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if ssafrica==1, cluster(ctryid)

** LATIN AMERICA
reg d.educ ld.educ l.educ l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if latinamr==1, cluster(ctryid)

reg d.educ_percap ld.educ_percap l.educ_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if latinamr==1, cluster(ctryid)

reg d.health ld.health l.health l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if latinamr==1, cluster(ctryid)

reg d.health_percap ld.health_percap l.health_percap l.imf_predicted1 d.imf_predicted1 l.lnwdi73 d.lnwdi73  l.year l.polity4_re /*
*/ d.polity4_re l.pop_youngper l.pop_oldper l.wdi72 d.wdi72 l.grw_neg d.grw_neg l.grw_sd l.polity4_imfpre1 d.polity4_imfpre1 if latinamr==1, cluster(ctryid)



* APPENDIX
** Countries in Sample
sort ctryname year
list ctryname ctrycode year if edsample~=.
list ctryname ctrycode year if hcsample~=.

** Variable Descriptions
desc educ health wdi152 militarygdp wdi246 educ_percap health_percap /*
*/ lnwdi73 pop_youngper pop_oldper wdi72 grw_neg grw_sd polity4_re under_imf wdi18 budgetbalance_gdp


** Summary Statistics
summ educ health wdi152 militarygdp wdi246 educ_percap health_percap /*
*/ lnwdi73 pop_youngper pop_oldper wdi72 grw_neg grw_sd polity4_re under_imf wdi18 budgetbalance_gdp



save, replace
